package com.vsd.repository;


import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.rest.core.annotation.RestResource;

import com.vsd.domain.CreditGoods;

@RestResource(exported = false)
public interface CreditGoodsRepository extends CrudRepository<CreditGoods, String> {


	Page<CreditGoods> findAll(Pageable p);
	
	Page<CreditGoods> findByCateCode(String code,Pageable p);
	
	Page<CreditGoods> findByCateCodeLike(String code,Pageable p);
	
}
